package ca.ualberta.cs.CLRDB.conference;

import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;

import uk.ac.liv.c3connector.AnnotationModel;
import ca.ualberta.cs.CLRDB.TagsManagement;
import ca.ualberta.cs.CLRDB.interfaces.EntityRelManagement;
import ca.ualberta.cs.CLRDB.interfaces.TagAccess;

public class TagsMgmtConference extends EntityRelManagement implements
		TagAccess {

	private static TagsManagement tagsMgmt = new TagsManagement();
	
	@Override
	public void initialize(Statement statement) throws SQLException {
		tagsMgmt.initialize(statement);
	}

	public void addKeyword(String label, Integer bibtexId, Statement statement) {
		try {
			throw new Exception();
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

	}

	public void addKeywords(Collection<String> keys, Integer bibtexId,
			Statement statement) {
		try {
			throw new Exception();
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

	}

	public int addTagging(String label, Integer resourceId, Integer personId,
			int page, Date date, Statement statement) {

		try {
			throw new Exception();
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return 0;
	}

	public int addTagging(AnnotationModel am, String username) {
		try {
			throw new Exception();
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return 0;
	}

	public void addTaggings(Collection<String> tags, Integer resourceId,
			Integer personId, int page, Date date, Statement statement) {
		try {
			throw new Exception();
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

	}

	public ArrayList<String> findResourceTagsByDigestAndBib(String url,
			Connection con) {
		try {
			throw new Exception();
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return null;
	}

	public ArrayList<String> findResourceTagsByURL(String url, Connection con) {
		try {
			throw new Exception();
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return null;
	}

}
